package com.jevons.muffin.net.inter;

import com.jevons.muffin.net.exception.ResponseException;

/**
 * 响应基类
 * @author linaisheng
 * Created at 2019/3/19.
 */

public interface BaseObserver<T> {

    void responseSuccess(String taskId, T response);

    void responseError(String taskId, ResponseException exception);

}
